package com.dongjiantong.user.model;

import com.dongjiantong.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Table(name="djt_organization")
@Data
public class Organization extends BaseEntity {

    @Column(name = "region_account_id")
    private Long regionAccountId;

    //区域
    @Column(name = "province_id")
    private Integer provinceId;

    @Column(name = "city_id")
    private Integer cityId;

    @Column(name = "region_id")
    private Integer regionId;

    @Column(name = "street_id")
    private Integer streetId;

    private String name;

    @Column(name = "org_type")
    private Integer orgType;

    @Column(name = "parent_id")
    private Long parentId;

    private Integer isacert;

    private Integer isbcert;

    @Column(name = "created_id")
    private Long createdId;

    @Column(name = "updated_id")
    private Long updatedId;

    @Column(name = "created_at")
    private Date createdAt;

    @Column(name = "updated_at")
    private Date updatedAt;






}